﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.MedicalDomain
{
   public class Radiology
    {
        #region Properties
        public int ID { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public string Notes { get; set; } 
        #endregion

        #region ForeignKeyProperties
        [ForeignKey("Group")]
        public int GroupID { get; set; }
        [ForeignKey("Attachment")]
        public Guid AttachmentID { get; set; }
        #endregion

        #region NavigationalProperties
        public virtual RadiologyGroup Group { get; set; }
        public virtual RadiologyAttachment Attachment { get; set; }
        public virtual ICollection<RadiologyItem> Items { get; set; }       public virtual ICollection<RadiologyAttachment> Attachments { get; set; }
        #endregion
    }
}
